#!/usr/bin/python3.8
# -*- coding: utf-8 -*-
# @Time    : 2021/3/4 10:45
# @Author  : zhaohexin
# @Email   : 1483643520@xxx.com
# @File    : BaseSchemas.py
# @Software: PyCharm
# @FileDescription：通用校验器

from datetime import datetime

from typing import Optional
from pydantic import BaseModel


class BaseSchemas(BaseModel):
    """
    默认序列化器
    """
    create_by: Optional[str] = None
    update_by: Optional[str] = None
    create_time: Optional[datetime] = None
    update_time: Optional[datetime] = None
